package cn.ronghuanet.base.service;

import cn.ronghuanet.auth.domain.Role;
import cn.ronghuanet.auth.query.RoleQuery;
import cn.ronghuanet.base.query.BaseQuery;
import cn.ronghuanet.base.util.PageInfo;

import java.util.List;

public interface IBaseService<T> {
    void update(T role);

    void insert(T role);

    void delete(Long id);

    void batchDelete(List<Long> ids);

    T selectById(Long id);

    List<T> selectAll();

    PageInfo<T> queryPage(BaseQuery baseQuery);

}
